package com.example.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.auth.entity.SysPermissionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 资源
 *
 * @author yang
 * @date 2021-08-23 23:45:04
 */
@Mapper
public interface SysPermissionMapper extends BaseMapper<SysPermissionEntity> {

    List<SysPermissionEntity> listPermissionsByRoles(@Param("roleIds") List<String> roleIds);
}